GtkPlacesSidebar: Fix editing of bookmarks
authorMatthias Clasen <mclasen@redhat.com>
Wed, 23 Jul 2014 18:11:22 +0000 (14:11 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 23 Jul 2014 18:11:22 +0000 (14:11 -0400)
commit155c45eba5a92e8b2b4cc131817f58badf7d6826
tree2ee34b1198de3bd2b195a62efe7dadf0cea42907
parentd576069cecbc7de2dbb53c9a218f3125bef27ed7
GtkPlacesSidebar: Fix editing of bookmarks

This was silently broken - the code was just assuming that the
text cell renderer is item no. 6 on the list of all cells. That
doesn't work so well if the cell renderers are set up elsewhere
and get rearranged.

Fix this by keeping an explicit pointer to the the text cell.
gtk/gtkplacessidebar.c